<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      gdk-pixbuf-2.40.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;25.&nbsp;X Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="freeglut.html" title=
          "Freeglut-3.2.1">Prev</a>
          <p>
            Freeglut-3.2.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="glew.html" title="GLEW-2.1.0">Next</a>
          <p>
            GLEW-2.1.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="lib.html" title=
          "Chapter&nbsp;25.&nbsp;X Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="gdk-pixbuf" name="gdk-pixbuf"></a>gdk-pixbuf-2.40.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Gdk Pixbuf
        </h2>
        <p>
          The <span class="application">Gdk Pixbuf</span> package is a
          toolkit for image loading and pixel buffer manipulation. It is used
          by <span class="application">GTK+ 2</span> and <span class=
          "application">GTK+ 3</span> to load and manipulate images. In the
          past it was distributed as part of <span class="application">GTK+
          2</span> but it was split off into a separate package in
          preparation for the change to <span class="application">GTK+
          3</span>.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.40/gdk-pixbuf-2.40.0.tar.xz">
                http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.40/gdk-pixbuf-2.40.0.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.40/gdk-pixbuf-2.40.0.tar.xz">
                ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.40/gdk-pixbuf-2.40.0.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 05eb1ebc258ba905f1c8644ef49de064
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 5.3 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 64 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.3 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Gdk Pixbuf Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/glib2.html" title=
          "GLib-2.64.1">GLib-2.64.1</a>, <a class="xref" href=
          "../general/libjpeg.html" title=
          "libjpeg-turbo-2.0.4">libjpeg-turbo-2.0.4</a>, <a class="xref"
          href="../general/libpng.html" title=
          "libpng-1.6.37">libpng-1.6.37</a>, and <a class="xref" href=
          "../general/shared-mime-info.html" title=
          "shared-mime-info-1.15">shared-mime-info-1.15</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="../general/librsvg.html" title=
          "librsvg-2.48.2">librsvg-2.48.2</a> (runtime dependency, needed for
          loading symbolic icons), <a class="xref" href=
          "../general/libtiff.html" title="LibTIFF-4.1.0">LibTIFF-4.1.0</a>,
          and <a class="xref" href="x7lib.html" title="Xorg Libraries">Xorg
          Libraries</a> (<span class="emphasis"><em>Many</em></span>
          <span class="application">GTK+</span> applications <span class=
          "emphasis"><em>require</em></span> gdk-pixbuf-xlib).
        </p>
        <h4>
          Optional (Required if building GNOME)
        </h4>
        <p class="optional">
          <a class="xref" href="../general/gobject-introspection.html" title=
          "gobject-introspection-1.64.0">gobject-introspection-1.64.0</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/jasper.html" title=
          "JasPer-2.0.14">JasPer-2.0.14</a>, <a class="xref" href=
          "../general/gtk-doc.html" title="GTK-Doc-1.32">GTK-Doc-1.32</a>,
          and <a class="ulink" href="https://github.com/mak/mlib">MLib</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/gdk-pixbuf">http://wiki.linuxfromscratch.org/blfs/wiki/gdk-pixbuf</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Gdk Pixbuf
        </h2>
        <p>
          Install <span class="application">Gdk Pixbuf</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">mkdir build &amp;&amp;
cd build &amp;&amp;

meson --prefix=/usr .. &amp;&amp;
ninja</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>ninja
          test</strong></span>. The tests make a heavy use of disk.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">ninja install</kbd>
</pre>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            If you installed the package on to your system using a
            <span class="quote">&ldquo;<span class=
            "quote">DESTDIR</span>&rdquo;</span> method, an important file
            was not installed and should be copied and/or generated. Generate
            it using the following command as the <code class=
            "systemitem">root</code> user:
          </p>
          <pre class="root">
<kbd class="command">gdk-pixbuf-query-loaders --update-cache</kbd>
</pre>
        </div>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <code class="option">-Ddocs=true</code>: Use this parameter if
          <span class="application">GTK-Doc</span> is installed and you wish
          to rebuild and install the API documentation.
        </p>
        <p>
          <code class="option">-Djasper=true</code>: If you've installed
          <a class="xref" href="../general/jasper.html" title=
          "JasPer-2.0.14">JasPer-2.0.14</a> and you want <span class=
          "application">Gdk Pixbuf</span> to use it to compile a JPEG2000
          image loader, pass this switch to meson.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">gdk-pixbuf-csource, gdk-pixbuf-pixdata,
              gdk-pixbuf-query-loaders, and gdk-pixbuf-thumbnailer,</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libgdk_pixbuf-2.0.so and
              libgdk_pixbuf_xlib-2.0.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/{include,lib}/gdk-pixbuf-2.0,
              /usr/share/installed-tests/gdk-pixbuf,
              /usr/share/gtk-doc/html/gdk-pixbuf, and
              /usr/share/thumbnailers</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="gdk-pixbuf-csource" name=
                    "gdk-pixbuf-csource"></a><span class="term"><span class=
                    "command"><strong>gdk-pixbuf-csource</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a small utility that generates C code containing
                    images, used for compiling images directly into programs.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gdk-pixbuf-pixdata" name=
                    "gdk-pixbuf-pixdata"></a><span class="term"><span class=
                    "command"><strong>gdk-pixbuf-pixdata</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool used to convert GdkPixbuf to GdkPixdata.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gdk-pixbuf-query-loaders" name=
                    "gdk-pixbuf-query-loaders"></a><span class=
                    "term"><span class=
                    "command"><strong>gdk-pixbuf-query-loaders</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    collects information about loadable modules for
                    <span class="application">Gdk Pixbuf</span> and writes it
                    to the default cache file location, or to stdout.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gdk-pixbuf-thumbnailer" name=
                    "gdk-pixbuf-thumbnailer"></a><span class=
                    "term"><span class=
                    "command"><strong>gdk-pixbuf-thumbnailer</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    creates thumbnails of pictures for use in other
                    applications.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgdk_pixbuf-2" name=
                    "libgdk_pixbuf-2"></a><span class="term"><code class=
                    "filename">libgdk_pixbuf-2.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions used to load and render images.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgdk_pixbuf_xlib-2" name=
                    "libgdk_pixbuf_xlib-2"></a><span class=
                    "term"><code class="filename">libgdk_pixbuf_xlib-2.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions used to manipulate images and
                    interfaces with <span class="application">Xlib</span>.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 17:15:05 -0600
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="freeglut.html" title=
          "Freeglut-3.2.1">Prev</a>
          <p>
            Freeglut-3.2.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="glew.html" title="GLEW-2.1.0">Next</a>
          <p>
            GLEW-2.1.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="lib.html" title=
          "Chapter&nbsp;25.&nbsp;X Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
